﻿creATE proc thuan_qtdanhmucloaimenuthem
@DienGiai nvarchar(255)
as
if exists(select * from DanhMuc_LoaiMenu Where DienGiai=@DienGiai)
begin
select ErrCode=0
end
else
begin
insert into DanhMuc_LoaiMenu (DienGiai)values(@DienGiai)
select ErrCode=1
end